"""
test per un conteggio delle funzioni
def foo():
	print 'foo'
"""

def f1(x): 
	"""   simple comment """
	if x<2:
		return x+1
	else:
		return x-1

def f2(y):
	def hidden_function(x): 
		#i#### def 
		print "@"
		return x+1
	s = 0
	for i in range(2):
		s += hidden_function(y)
	
	print s

def pi():
	"""here was a multiline string"""
	return math.pi
def e():
	"""here was a multiline string"""
	return math.e	


if __name__ == "__main__":
	print f1(3)
	f2(5)


